<div style="border:2px solid #333">
  <p>这是子组件</p>
  <button (click)="dec()" title="smaller">-</button>
  <button (click)="inc()" title="bigger">+</button>
  <label [style.font-size.px]="size">FontSize:{{size}}px</label>
</div>